﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MVCDemo.Controllers
{
    public class StudentController : Controller
    {
        // GET: Student
        public ActionResult Index()
        {
            ViewBag.Title = "学生中心";
            return View();
        }
        public ActionResult Class()
        {
            return View("Index");
        }


        //手动指定完整路径
        public ActionResult Teacher()
        {
            return View("~/Views/Home/Xu.cshtml");
        }
    }
}